{extend name='main'}

{block name="button"}
{/block}
{block name="content"}
<div  class="think-box-shadow">
    {include file='eduexamscore/index_search'}
    <table class="layui-table" lay-skin="line">
        {notempty name='list'}
        <thead>
        <tr>
            <th class='list-table-check-td think-checkbox'>
                <label><input data-auto-none data-check-target='.list-check-box' type='checkbox'></label>
            </th>
            <th class='layui-hide-xs'>报名号</th>
            <th class='layui-hide-xs'>考核名称</th>
            <th class='layui-hide-xs'>学员姓名</th>
            <th class='layui-hide-xs'>企业名称</th>
            <th class='layui-hide-xs'>准考证号</th>
            <th class='layui-hide-xs'>总成绩</th>
            <th class='layui-hide-xs'>是否通过</th>
            <th class='layui-hide-xs'>考核时间</th>
            <th class='layui-hide-xs'>操作</th>
        </tr>
        </thead>
        {/notempty}
        <tbody>
        {foreach $list as $key=>$vo}


        <tr  data-dbclick>
            <td class='list-table-check-td think-checkbox'>
                <label><input class="list-check-box" value='{$vo.id}' type='checkbox'></label>
            </td>
            <td class="nowrap">{$vo.no}</td>
            <td style="width:100px;">{$vo.exam_name}</td>
            <td class="nowrap">{$vo.name}</td>
            <td style="width:100px;">{$vo.company}</td>
            <td class="nowrap">{$vo.exam_no}</td>
            <td style="width:100px;" class="nowrap">{if $vo.is_pass>0}{$vo.score}{/if}</td>
            <td class="nowrap">{$PASS_STATE_OPTION[$vo.is_pass]}</td>
            <td class="nowrap">{$vo.exam_time}</td>
            <td  class='text-center nowrap notselect'>
                {if auth("edit")}
                <a data-dbclick data-title="修改成绩" data-modal='{:url("addscore")}?id={$vo.id}'>修改成绩</a>
                {/if}
            </td>
        </tr>

        {/foreach}
        </tbody>
    </table>
    {empty name='list'}<span class="notdata">没有记录哦</span>{else}{$pagehtml|raw|default=''}{/empty}
</div>
{/block}


